package com.linkhub.oms.data.sync.service;

import com.linkhub.oms.data.sync.api.wms.domain.dto.*;
import com.linkhub.oms.data.sync.api.wms.domain.response.*;

/**
 * @Description: WMSApiService
 * @Author: echo
 * @Date: 2024/5/5 21:11
 * @Version: 1.0
 */
public interface WMSApiService {

    /**
     * 入库订单创建 openapi.entryorder.create
     *
     * @param wmsEntryOrderDTO wmsEntryOrderDTO
     * @return EntryOrderCreateResponse
     */
    EntryOrderCreateResponse createEntryOrder(WmsEntryOrderDTO wmsEntryOrderDTO);

    //同步本地商品到仓库
    SyncProductResponse syncAddProduct( WmsSyncProductDTO WmsSyncProductDTO );

    //同步新增本地商品到仓库
    SyncProductResponse syncUpdateProduct( WmsSyncProductDTO wmsSyncProductDTO );

    SyncProductResponse syncProduct( WmsSyncProductDTO wmsSyncProductDTO );

    EntryOrderBatchCreateResponse batchCreateEntryOrder( WmsEntryOrderBatchCreateDTO wmsCreateWarehouseWarrantDTO );

    StockOutBatchCreateResponse batchCreateStockOutList( WmsStockOutBatchCreateDTO wmsStockOutBatchCreateDTO );

    CancelOrderResponse batchCancelOrder( WmsCancelOrderDTO wmsCancelOrderDTO );

    StoreProcessCreateResponse createStoreProcess( WmsProcessOrderCreateDTO wmsProcessOrderCreateDTO );
}
